<?php

namespace App\Enums\Common;

class CommunalEnum
{

    ////充值
    const  AMOUNT_TYPE_RECHARGE = 1;
    const  AMOUNT_TYPE_WITHDRAW = 2;
    const AMOUNT_STATUS_SUCCESS = 1;
    const AMOUNT_STATUS_FAIL = 2;

    ///// 学习状态
    const  STATUS_NO_STARTED = 0;
    const  STATUS_STARTING = 1;
    const  STATUS_END = 2;


    public array $amountType = [
        self::AMOUNT_TYPE_RECHARGE => "充值",
        self::AMOUNT_TYPE_WITHDRAW => "提现",
    ];

    public array $amountStatus = [
        self::AMOUNT_STATUS_SUCCESS => "成功",
        self::AMOUNT_STATUS_FAIL => "失败",
    ];


    public array $study=[
        self::STATUS_NO_STARTED=>'未开始',
        self::STATUS_STARTING=>'进行中',
        self::STATUS_END=>'结束',
    ];
}
